		 **************************************************************
		 **															 **
		 ** Paper: Freedom of Foreign Movement and Human Trafficking **
		 **														     **
		 ** Authors: Sam R. Bell & Richard W. Frank 				 **
		 **															 **
		 ** Date: May 12, 2021										 **
		 **															 **
		 ** Task: Table A3-Results with EU dummy					 **
		 **															 **
		 **************************************************************
		  
								 
		clear
		version 16.1
		set seed 1234

		** Change working directory
		cd "~"
		 
		use "ht_merged.dta"
		merge 1:1 ccode year using "ht_eba_ivs.dta"			
 		global IVs "gdp_ln pop_ln EU" 
 
 		
			*** 1. CIRI, 12km
			
			probit F.source fm W_fm_con12   $IVs , robust cluster (ccode) 
				
				tab year if e(sample)
				codebook ccode if e(sample)	
				estat ic
				estimates store T1_1
			
			** 2. CIRI interaction, 12km
			
			probit F.source fm W_fm_con12  interact_W_C_f12 $IVs , robust cluster (ccode) 
				
				tab year if e(sample)
				codebook ccode if e(sample)	
				estat ic
				estimates store T1_2
 
 
 			* 3. , V-DEM 12km

			probit F.source v2clfmove W_vfomov_con12  $IVs , robust cluster (ccode)
				 		
				tab year if e(sample)
				codebook ccode if e(sample)	
				estat ic
				estimates store T1_3
			
			* 4. W interaction V-DEM 12km
			
			probit F.source v2clfmove W_vfomov_con12 interact_W_Vf12 $IVs , robust cluster (ccode)
				
				tab year if e(sample)
				codebook ccode if e(sample)	
				estat ic
				estimates store T1_4

 
			 esttab T1_1 T1_2 T1_3 T1_4 using "tableA3_EU.csv", replace ///
					title(Table A3: EU control variable, probit results) ///
					obslast label se nogaps scalars(N pr2)  star(* 0.05 ** 0.01 *** 0.001)  
					
 
